package com.hs.panghu.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Goods {
    @JSONField(format = "yyyy-MM-dd")
   private Date addTime;
   private String goodsCartCount;
   private Integer goodsId;
   private String goodsImage;
   private String goodsName;
   private Integer goodsPresentPrice;
   private Double goodsSalesVolume;
   private String goodsShopName;
   private Integer goodsStatus;
   private String goodsUnit;
   private Integer shopCategoryId;
   private Integer shopId;

    @Override
    public String toString() {
        return "Goods{" +
                "addTime='" + addTime + '\'' +
                ", goodsCartCount='" + goodsCartCount + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPresentPrice=" + goodsPresentPrice +
                ", goodsSalesVolume=" + goodsSalesVolume +
                ", goodsShopName='" + goodsShopName + '\'' +
                ", goodsStatus=" + goodsStatus +
                ", goodsUnit='" + goodsUnit + '\'' +
                ", shopCategoryId='" + shopCategoryId + '\'' +
                ", shopId=" + shopId +
                '}';
    }

    public Goods() {
    }

    public Goods(Integer goodsId, Integer goodsStatus) {
        this.goodsId = goodsId;
        this.goodsStatus = goodsStatus;
    }

    public Goods(Date addTime, String goodsCartCount, Integer goodsId, String goodsImage, String goodsName, Integer goodsPresentPrice, Double goodsSalesVolume, String goodsShopName, Integer goodsStatus, String goodsUnit, Integer shopCategoryId, Integer shopId) {
        this.addTime = addTime;
        this.goodsCartCount = goodsCartCount;
        this.goodsId = goodsId;
        this.goodsImage = goodsImage;
        this.goodsName = goodsName;
        this.goodsPresentPrice = goodsPresentPrice;
        this.goodsSalesVolume = goodsSalesVolume;
        this.goodsShopName = goodsShopName;
        this.goodsStatus = goodsStatus;
        this.goodsUnit = goodsUnit;
        this.shopCategoryId = shopCategoryId;
        this.shopId = shopId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getGoodsCartCount() {
        return goodsCartCount;
    }

    public void setGoodsCartCount(String goodsCartCount) {
        this.goodsCartCount = goodsCartCount;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsPresentPrice() {
        return goodsPresentPrice;
    }

    public void setGoodsPresentPrice(Integer goodsPresentPrice) {
        this.goodsPresentPrice = goodsPresentPrice;
    }

    public Double getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    public void setGoodsSalesVolume(Double goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public String getGoodsShopName() {
        return goodsShopName;
    }

    public void setGoodsShopName(String goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    public Integer getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public Integer getShopCategoryId() {
        return shopCategoryId;
    }

    public void setShopCategoryId(Integer shopCategoryId) {
        this.shopCategoryId = shopCategoryId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
}
